

<%@page import="entidades.vdetalle_pedido"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%
    
    
    vdetalle_pedido vp=new vdetalle_pedido();
    vp=vp.SelectDetallePedidoByNumero(String.valueOf(request.getParameter("txtOrden")));
    
%>

<script> 
var miPopup 
function abreVentana(){ 
    miPopup = window.open("compensations.jsp","miwin","width=368,height=267,scrollbars=No") 
    miPopup.focus() 
} 
</script> 


<html>

<head>
	<title>The Interwiew Center</title>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
	<style media="all" type="text/css">@import "css/all.css";</style>


    
</head>
<body>
<div id="main">
	<div id="header">
		<a href="index.html" class="logo"><img src="img/logo.gif" width="101" height="29" alt="" /></a>
		<ul id="top-navigation">
			<li><span><span><a href="index.jsp">Homepage</a></span></span></li>
			<li><span><span><a href="oreder_number.jsp">Check_Orders</a></span></span></li>
			<li><span><span><a href="oreder_number.jsp">Order_Detail</a></span></span></li>
			<li class="active"><span><span><a href="#">Product_Detail</a></span></span></li>
			<li><span><span><a href="#">Documentation</a></span></span></li>
			<li><span><span><a href="#">Design</a></span></span></li>
			<li><span><span><a href="#">Contents</a></span></span></li>
		</ul>
  </div>
	<div id="middle">
		<div id="left-column">
			<h3>Header</h3>
			<ul class="nav">
				<li><a href="#">Lorem Ipsum dollar</a></li>
				<li><a href="#">Dollar</a></li>
				<li><a href="#">Lorem dollar</a></li>
				<li><a href="#">Ipsum dollar</a></li>
				<li><a href="#">Lorem Ipsum dollar</a></li>
				<li class="last"><a href="#">Dollar Lorem Ipsum</a></li>
			</ul>
			<a href="#" class="link">Link here</a>
			<a href="#" class="link">Link here</a>
		</div>
		<div id="center-column">
		  <div class="top-bar">
		  <h1>Order Detail</h1>
	      </div>
		  <form name="formul" method="post" action="documentation.jsp">
		    <div class="table"><img src="img/bg-th-right.gif" width="7" height="7" alt="" class="right" />
		      <table width="550" cellpadding="0" cellspacing="0" class="listing form">
		        <tr>
                            <th class="full" colspan="12"><font size="3">Order Number: <%=vp.getNumero()%></font><input type="hidden" name="txtOrden" value="<%=vp.getNumero()%>" /></th>
	            </tr>
		        <tr>
		          <td width="45" height="30" class="first" style="" font><strong>Order Date:</strong></td>
		          <td colspan="4" class="first"><input name="txtforden" type="text" id="txtforden" size="25" readonly="readonly" value="<%=vp.getFecha_pedido()%>"/></td>
		          <td colspan="3" class="last"><strong>Delivery Date:</strong></td>
		          <td colspan="4" class="last"><span class="first">
		            <input name="txtfe" type="text" id="txtfe" size="25" readonly="readonly" value="<%=vp.getFecha_entrega()%>"/>
		          </span></td>
	            </tr>
		        <tr class="bg">
		          <td colspan="12" class="first">&nbsp;</td>
	            </tr>
                <tr>
		           <td height="30" class="first"><strong>Product:</strong></td>
		           <td height="30" colspan="11" class="first"><input name="txtproducto" type="text" id="txtproducto" size="45" value="<%=vp.getProducto()%>"/></td>
	            </tr>
		         <tr class="bg">
		           <td colspan="12" class="first">&nbsp;</td>
	             </tr>
                 <tr>
		           <td height="30" class="first"><strong>Price:</strong></td>
		           <td height="30" colspan="6" class="first"><input name="txtPrecio" type="text" id="txtPrecio" size="15" readonly="readonly" value="$ <%=vp.getPrecio()%>"/></td>
		           <td height="30" colspan="2" class="first"><strong>Tax:</strong></td>
		           <td height="30" colspan="3" class="first"><input name="txtTax" type="text" id="txtTax" size="15" readonly="readonly" value="$ <%=vp.getImpuesto()%>"/></td>
	            </tr>
		         <tr class="bg">
		           <td colspan="12" class="first">&nbsp;</td>
	            </tr>
	          </table>
		      <table width="550" cellpadding="0" cellspacing="0" class="listing form">
		        
		        <tr>
		          <td width="100" height="107" class="first" style="" font="font"><strong>Product Description:</strong></td>
		          <td width="258" class="first"><textarea name="txtDescripcion" cols="45" rows="8" readonly="readonly" id="txtDescripcion"><%=vp.getDescripcion()%></textarea></td>
		          <td width="253" rowspan="3" align="center" valign="middle" class="first"><img src="imagenes/<%=vp.getFoto()%>" width="210" height="211" alt="img" /></td>
	            </tr>
		        <tr class="bg">
		          <td colspan="2" class="first">&nbsp;</td>
	            </tr>
		        <tr>
		          <td height="30" class="first"><strong>Observations:</strong></td>
		          <td height="30" class="first"><textarea name="txtObservacion" cols="45" rows="4" id="txtObservacion"><%=vp.getObservacion()%></textarea></td>
	            </tr>
		        <tr class="bg">
		          <td colspan="3" class="first">&nbsp;</td>
	            </tr>
                <tr>
		          <td height="30" class="first"><strong>Compensation:</strong></td>
		          <td height="30" class="first"><input name="txtCompen" type="text" id="txtCompen" value="Nothing" size="30" readonly="readonly" /></td>
                  <td height="30" class="first"><input type="Button" value="Compensation" onclick="abreVentana()"></td>
	            </tr>
	          </table>
		      <table width="300" border="0" align="center">
		        <tr>
		          <td><input name="btnOk" type="submit" class="button" id="btnOk" value="   OK   " /></td>
		          <td>&nbsp;</td>
		          <td align="right"><input name="btnReturn" type="button" class="button" value="RETURN" onclick="location.href='oreder_number.jsp'"/></td>
	            </tr>
	          </table>
		      <p>&nbsp;</p>
	        </div>
	      </form>
	  </div>
		<div id="right-column">
			<strong class="h">repeat</strong>
		    <div class="box"><img src="imagenes/sonido.jpg" width="122" height="122" alt="sonido" onmouseover="this.src='imagenes/sonido3.jpg';" onmousedown="this.src='imagenes/sonido2.jpg';" onmouseout="this.src='imagenes/sonido.jpg';" onmouseout="this.src='imagenes/sonido.jpg';" /></div>
          <strong class="h">help</strong>
		  <div class="box">
		    <p>If the costomer has a problem, select a compensation</p>
		  </div>
          <div>
          
          <form name="formu" target="popup" action="compesations.jsp">
          </form>
          </div>
	</div>
	<div id="footer"></div>
</div>


</body>
</html>
